package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.UserIdentityAuthentication;
import com.ecoolex.ying.space.entity.UserIdentityAuthenticationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface UserIdentityAuthenticationMapper {
    long countByExample(UserIdentityAuthenticationExample example);

    int deleteByExample(UserIdentityAuthenticationExample example);

    int deleteByPrimaryKey(Integer userId);

    int insert(UserIdentityAuthentication record);

    int insertSelective(@Param("record") UserIdentityAuthentication record, @Param("selective") UserIdentityAuthentication.Column ... selective);

    UserIdentityAuthentication selectOneByExample(UserIdentityAuthenticationExample example);

    List<UserIdentityAuthentication> selectByExample(UserIdentityAuthenticationExample example);

    UserIdentityAuthentication selectByPrimaryKey(Integer userId);

    UserIdentityAuthentication selectByPrimaryKeyWithLogicalDelete(@Param("userId") Integer userId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") UserIdentityAuthentication record, @Param("example") UserIdentityAuthenticationExample example, @Param("selective") UserIdentityAuthentication.Column ... selective);

    int updateByExample(@Param("record") UserIdentityAuthentication record, @Param("example") UserIdentityAuthenticationExample example);

    int updateByPrimaryKeySelective(@Param("record") UserIdentityAuthentication record, @Param("selective") UserIdentityAuthentication.Column ... selective);

    int updateByPrimaryKey(UserIdentityAuthentication record);

    int batchInsert(@Param("list") List<UserIdentityAuthentication> list);

    int batchInsertSelective(@Param("list") List<UserIdentityAuthentication> list, @Param("selective") UserIdentityAuthentication.Column ... selective);

    int logicalDeleteByExample(@Param("example") UserIdentityAuthenticationExample example);

    int logicalDeleteByPrimaryKey(Integer userId);
}